<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo</title>
    <script type="text/javascript" src="../vue.js"></script>
</head>

<body>
    <div id="app">
        <form action="###">

            请选择你喜欢的城市
            <select name="city" v-model="city">
              <option value="北京">北京</option>
              <option value="上海">上海</option>
              <option value="广州">广州</option>
              <option value="深圳">深圳</option>
              <option value="曹县">曹县</option>
            </select>

            <select name="food" multiple v-model="food">
                <option value="螺蛳粉">螺蛳粉</option>
                <option value="臭豆腐">臭豆腐</option>
                <option value="热干面">热干面</option>
                <option value="胡辣汤">胡辣汤</option>
              </select>
        </form>
        
    </div>
</body>
<script type="text/javascript">
    Vue.config.productionTip = false
    const vm = new Vue({
        el: "#app",
        data() {
         return{
            city: "深圳",
            food: []
         }
        }
    })
</script>

</html>